ruby read json file

195

ruby read json file -

require "json"
json_from_file = File.read("myfile.json")
hash = JSON.parse(json_from_file)

Comments

Submit
0 Comments